setenforce0
setenforce0的作用.表示设置SELinux成为permissive模式临时关闭selinux防火墙永久关闭:输入命令vi/etc/selinux/config,将SELINUX=enforcing改 ...,Enforcingmodeisthedefault,andrecommended,modeofoperation;inenforcingmodeSELinuxoperatesnormally,enforcingtheloadedsecuritypolicyonthe ...,使用setenforce[0|1]搭配getenforce來觀察SELinux的模式變化!觀察/etc/selinux/config這個檔案的內容,看如何設定預設的SELinu...

不關閉 SELinux 解決 Linux 無法啟動網路服務的問題
自從Linux進入某版本後,多了SELinux的設定,也就是安全增強式Linux,坦白說是個麻煩的東西,若習慣SELinux加入之前的使用,就會覺得SELinux很麻煩,最簡單的方式就是修改/etc/sysconfig/selinux的檔案,將SELIN...